package cn.tedu.egweibo1.mapper;

import cn.tedu.egweibo1.pojo.dto.UserLoginParam;
import cn.tedu.egweibo1.pojo.entity.User;
import cn.tedu.egweibo1.pojo.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    int insert(User user);

    int selectByUsername(String username);

    UserVo selectByUsernameAndPassword(UserLoginParam param);
}
